package com.ruoyi.project.system.item.service.impl;

import com.ruoyi.project.system.item.domain.SysUnit;
import com.ruoyi.project.system.item.service.SysUnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysUnitServiceImpl implements SysUnitService {

    @Autowired
    private SysUnitService sysUnitService;
    /**
     * 查询全部数据
     */
    @Override
    public List<SysUnit> unitList() {
        List<SysUnit> sysUnits = sysUnitService.unitList();
        return sysUnits;
    }
}
